fix mouse position x event bug