It's interesting. I personally think it's more of a SLAM problem. Because I'm in a subconscious state, my eye rarely sends visual information to my brain (maybe once a minute) as I go back and forth in consciousness. My "brain's visual perception" therefore tries to simulate a predicted visual state during these gaps, given my initial visual state input (in bed) and me trying to move and inputting physical motions in my brain (even though I am not actually moving physically). Much like seeing a simulated world in a dream -- our brain seems to be pretty good in creating simulated visions. So in this predicted visual state, I would see myself slowly rolling out of bed.
Then when the eye's visual info stops lagging and finally comes through, it updates my brain's visual state to the true state (back in bed) which causes the "teleportation" and therefore the jarring effect.
It's just my pet theory but if true I wonder how much of the world we see is interpolation by our brains and how much is actual grounr truth input given by signals from our eyes.
t. Actually don't know anything on neuroscience other than taking a 101 course once