An easy way to fix this is to move the actual part. Choose Insert>Features>Move/Copy.
You will then select the part as your “body to move”, and choose “translate/rotate” at the bottom of your window. Which will bring up a Constraints option. Click on constraints and you can then constrain, for this example, the top face and the top plane.