Fixed video resizing bug