fixed bug with x behavior & mouse move