Remove the tag when unselecting entity