mitigate crash on null entity during world ticking