Fixed a bug that would cause cubes to vanish if a set of cubes was broken