bugfix high dpi canvas support