Fixed an issue that rotation causes restart video