added lists of static rigid bodies; fixes bug when static rigid body was GC collected (hits only emscripten version for some reason)