[Olena-patches] milena r2892: Convert the labeling canvas into a routine