Fixed a bug in adding a new label to the current context.