Add 5 tick delay to setting flight on game mode change to let Minecraft do its stuff before us.