Correctly resize the video element