fixed draw_getpathrect so that poorly formed path instructions don't end up trying to read nonexistent elements from sc_vec