Fix for scrolling canvases that are smaller than the display