Fix centering of popup.