Fix getBounds when removeOutsideVisibleBounds: false is set. fixes #321