Prevent boxes from going outside the parent while dragging in react-alignment-guides