Fix a modal box positioning when the content is overflowing the box horizontally