Use safeCallTrigger in world:scriptUpdate and world:scriptDraw