Get the location from the old StyleItem when changing style
Add some margin between a popup's header and the content