fixed #475: text color does not change while in edit mode