Fix HI-DPI support

based on https://github.com/component/color-picker/issues/8