Fixes issue with popup positioning not adding margins when inline: true, adds ability to detect inline popups if no other content found