Fixed problem with focus events for addition of tags