Prevent objects from being put on top of each other