Fix NPE in 3D subs recognition