Fix enemy crashing game (removed second unregistergameobject)