Fix to work with the last kiss3d api.