Fixing orientation on mac