Added extra checking in the matching with shader section for arrays of our own objects
Added even better reset physics