Fixes an error when clicking on a thumbnail without video.