Fix video player rotation issue