Fix settings dialog on Mac