fix video rendering