Honour correctly "disable_border" in max_stack