Attempt to fix a null pointer exception bug with PlayerMovementEvent