Fixed removal of static bodies