Prevents applications from receiving orientation events.