Merge "Fix camera orientation by swapping horizontal and vertical flips when needed." into lmp-dev