Clean up canvas renderer, and stroke hit tests.