Worked around canvas rounding errors #404