Popup: Adds better popup positioning, new settings for popup positioning strategy , and a last resort position if it cannot fit on stage