removes last frame when video source changes