So i'm playing minecraft, and suddenly I start flying backward (i'm on creative) I try to stop it by going forward, but the force is stronger than my flying. I then stop flying and start walking backward (moonwalking?) I go to the pause menu and click resume. Now it stops. A few minutes later the same thing happened to me, but this time I was flying up. So I stop flying and I start hovering in midair, unable to move. I went to the pause menu again, and it stopped. After that, every few minutes the exact same thing happens just in a random direction.
Its very annoying. Can someone help me?