Prevent issues with repeated PaperScript execution on same canvas and HiDPI related scaling.