Refine node label position