High DPI: More fixes, this time cairo stuff

TODO:
 - color picker
 - masks
 - anything else?