fix 'constrain_above' margin