OO.ui.mixin.ClippableElement.prototype.getVerticalAnchorEdge = function () {
    if ( this.computePosition && this.positioning && this.computePosition().bottom !== '' ) {
        return 'bottom';
    }
    return 'top';