Fixed removeFromWorld bug