Resized the video buffer