Issue #29 (followup): Changing ball colors should not cause a DOM write in the wrong position