Apply content inset when calculating the size of the background view