Changed image rotation logic in ARManager since it was not working for a specific use case