Fixes center_object pointer-bug

When two objects merges, one object instance is removed and then the
list is packed by shifting the subsequent list items one step to
the left. This commit makes the center_object pointer account for this
so that it will point to the correct object when objects merge.