Fixed a bug where the player would continue moving after triggering a dialogue if he/she was mid-air at the time of the trigger