I hadn't fully realized before that you're texturing the rectangle with the rendertexture's texture. That seems like a dubious/fragile design choice (maintaining a std::string and just drawing an sf::Text would be a LOT easier, and probably safer/faster/etc than this rendertexture stuff) but I guess it should still work.
I don't remember if the texture produced by getTexture() is truly separate from the rendertexture, so drawing it to the same rendertexture it came from might not be safe. I can't see anything in the docs or tutorials that seems to cover this case; another sign this isn't normal usage.
Someone in here is bound to know for sure, but if you want to test that theory right away, maybe use an sf::Image member instead to force the texture to get copied to main memory?