Should be `NSMakeRect(bounds.origin.x, bounds.origin.y + roundf((....) ) ....)` Always anchor your layout based on the bounds of the containing view.