debug the mousemove event