update mutation matrix to calculate labelWidth *before* drawing background rectangle