         @mouseDragging = x: event.x, y: event.y
 
     # update internal mouse tracker
-    @mousePosition = x: event.x, y: event.y
+    @mousePosition = projected
     @notify @_getFooter()
 
   _onKey: (key) ->

    @_draw()

  _onMouseMove: (event) ->
    # only continue if x/y are valid
    return unless event.x <= config.output.columns and event.y <= config.output.rows

    # start dragging
    if event.button is "left"

config = require './config'

module.exports = class Termap
  width: null
  height: null
  canvas: null
