Fixed game freezing on exit instead of closing