fixing mouse positions with canvas offset for touch issue #440