Fix popupitem sizes to match (hardcoded layout sizes of) content
Fix-up for fa8ed7041dd3b74dddf089baa8ca7275483a6e24.