Fix adjusted-top() and adjusted-bottom().