Fixes #1 where lines weren't being resized with the canvas