Swapped sf::RenderWindow& for sf::RenderTarget&