bug in constrainWithSuperviewInDirection: