Update deprecated warning - boundingrectwithsize:options:attributes:context