Fix boundary constraints when using percentage-based width/height

Use paper.canvas dimensions instead of paper width and height to setup correct boundaries when using percentage-based dimensions for paper. Fixes #83