Adding localBounds override (backported, with features removed).