os x resolution fix