Correctly animate the constraint change when keyboard appears/disappears