modified MouseMotion