Attempt redrawing canvas on resize