Renamed initMouseTracking() to initTracking().

The new name better reflects the new purpose that includes handling the
viewport dimensions cache. This is related to the changes for issue #51.