Added PR from original twbs bootstrap repo to fix issues with tooltip placements.
@see https://github.com/twbs/bootstrap/pull/13718/files