fix from Chen for overlapping labels when doing incremental ui