fixed deprecated mouse clientX and clientY