Bugfix/544 negative canvas size