Dialog Boxes get me stuck after exiting them

I am a xbox 360 controller user.
Most of the dialog boxes, after being closed, will prevent my character from moving freely, and will only be allowed to move certain direction, unless i stop inputing movement. That will reset the situation and allow me to move freely again.