fixes #4 - IE9 canvas shifts position while panning.