[9511] Hotfix for low chance crash at not accessable gameobject cast.