be a bit more compliant with os x windowmanager