fixed pagex/y vs clientx/y coordinate calc error