fixed issue that caused to not remove mouse motion listener from mouse controller