fix the dialog mouselook bug