if (difference > 0 && this.parent instanceof Container) {
if (difference > 0 && (this.parent instanceof Container) && (((Container)this.parent).yOffset != 0) ) {
	private void closePopup() {		this.isPopupClosed = true;		int difference = this.popupOpenY - this.yTopPos;		if (difference > 0 && this.parent instanceof Container) {				((Container)this.parent).yOffset += difference;		}		this.internalX = -9999;				if (this.yOffset < 0) {			this.yOffset += (this.contentHeight - this.popupItem.contentHeight);			if (this.yOffset > 0 ) {				this.yOffset = 0;			}		}		requestInit();	}