use nanovg's dpi support
ponder restoring toolwindow drag