fixed entity onremoved in physicssystem