Fix RemoveText code in text-controller.cpp

No match.