Quick workaround for popup max height