Don't draw off canvas edge