Energy2D: constrain sensors position to model area

[#52401875]