fixed a bug in nophysicscomponent