Fix world delete

Fixes #5973