SFML fix