When you spectate a mob with different vision (creeper, Enderman, Spider) quit game, and go in to the world, you still have the vision, and can change gamemodes. you go back to normal vision when you go to f5 mode.
When you spectate a mob with different vision (creeper, Enderman, Spider) quit game, and go in to the world, you still have the vision, and can change gamemodes. you go back to normal vision when you go to f5 mode.
The latter issue is intended, see MC-46563