So, I'm using a MacBook Air and about 10 minutes ago, I came off PZ and tried to join a singleplayer world (to look at my skin). On this world I tried to join, as far as I can remember - I've built hardly anything on it. Anyway, when I spawned, I was in the void (light blue) and I couldn't move, only fly up/down and I had a splash potion of invisibility in my inventory. It stayed like this for around 5 minutes before I came online and tried to solve it. When I couldn't find anything (At first) I tried spamming the X button, force quit and quit but nothing would work, itjust turned my MC screen black. So then I held my power button down for around 10 seconds, restarted it and now minecraft is working fine! Any idea's what caused this/how to prevent it?