Fixed bug where resizing the screen caused cached canvases to draw at an incorrect offset.