Fixed bug: text_labels and canvas could acquire extra attributes