Updates for SFML API changes.