set position of beam for rectangular beam display (slitbox) using the new set_xMid_yMid method (Qub)