if you spawn a horse underwater quickly tame it with wheat then continously attempt to mount it underwater , after it drowns you're enter what is commonly know as ghost mode , in which the game is confused about your location
more info here: http://www.youtube.com/watch?v=7jhZNscO0YU
Duplicate of MC-13774.