fixed Mouse.scala so that coordinates are relative to top of page