nergy2D: Prevent users from dragging parts out of the model using "part margin"

[#52938193]