fixing mirroring of video