Trying to fix game destruction in production mode