Bug 847680 - Improve orientation detection in camera