Ice and Fire is known to cause a lot of crashes and issues. You would need to somehow kill the ice and fire dragon, do that with /kill @e[type=EntityNameOfTheDragon] in the console as early as you can enter it
I tried the kill command but it didn't solve the problem. I ended up tping myself to 0 0 and I am now able to play. Thanks for the help!