Steps to reproduce
1. Create an bug test world in creative with commands on
2. Spawn some shulkers
3. Swich gamemode to survival
4. Wait until shulkers start to shoot bullets
5. Swich gamemode to creative before shulker bullets hit your body
6. Try to walk away from shulker bullets.