Adapt to new rust-sfml