Fix for fly kick when player is standing on Fence

Fix for Issue #631 (Player kicked for flying when standing on fence).