prevent black lines from appearing on the sides of the video when starting in autofit mode or resizing