fixed a bug where the end screen wouldnt show if all the enemies werent killed