Add support for High DPI canvas