Temporary fix for orientation bug.