Going to bed while still flying with elytra causes the camera to go under the bed. Tested in survival and creative mode and in offline worlds and a server.
Steps to Reproduce:
- Equip an elytra.
- Wait until nighttime or use /time set night.
- Fly into a bed.
- Before landing, click on the bed to go to sleep.
The camera will be below the bed during the sleep animation.
The camera should be above the bed.