Fixed ending cutscene detection