Actually it is correct - the user only passed the width so I'm using CGFLOAT_MAX for the height.  It is unclear so I'll change it.