Fixed centering of popups