Moved quadtree add/remove detection to GravitySystem where it belongs.