Fixed bug with video not rendering after first page load