Updated for rust-sfml changes