fixed cubes not generating and spawning while in fight