Added linear interpolation of mouse coordinates in canvasrenderer.