Enforce canvas updates after the draw handler has run

This will reduce a lot of the flickering (but not all) when running at 60 FPS.