Fixed bug in viewMousePos method that was causing innaccurate coordinates to be recorded.