Worked around canvas rounding error bug where vector layer disappears #404