Check for player dismount when EntityPet updates. Fixes #323

Previous to these changes there were no checks for player dismount, leading to an issue where the player's fall damage would be cancelled despite no longer riding a pet.