refs #19 minimum size of main frame is not correct, when dpi is changed.