Avoid clearing canvas twice

Updating the canvas size already clears it.