fixed enemy spawn bug