Fixed bug where embed elements wouldn't be properly resized if they where configured in using the video_template_callback.