Prevent flickering of entity movement