state label position is updated on editor position change