Reset player x velocity when they freeze

When a dialog opens, reset player x velocity so they don't continue running after exiting dialog. Also allow the player to continue falling if they opened a dialog in mid-air.
Merge pull request #2240 from niamu/player_dialog_velocity

Reset player x velocity when they freeze