Fixed bug while updating FOV

Accidentally used allowFlying instead of isFlying