After drawing a tiling pattern we were not calling endDrawing, which handles compositing any active smasks. Fixes #8565.