fix ColorEditor high dpi support