Going into a portal whilst riding a pig, boat or minecart, used to sometimes place you within the ceiling of the nether.
What you have seems to be rare, can it be replicated (ie. done again) if so, this needs to be fixed...
Rollback Post to RevisionRollBack
If, by some freak chance the usual nonsense I generate seems to help you, there's a nice shiny green + button to tell me that I'm doing the right thing