Fix possible issue with deleting the currently playing video