Coding style
Fix coordinates not being relative to canvas