Ways to Reproduce:
- Quickly press crouch twice;
- Press jump and crouch at the same time.
You'll toggle fly mode on and off in both of these cases.
Only the jump button works as a way to toggle fly mode.
Notes: This makes crouching in mid-air really difficult in creative mode.