Attempt to fix video glitches