Fixed crash when videos end