Adapted to latest SFML version.
Fixed wrong initial position of texts objects for HTML5 games.