Updated for rust-sfml API changes