Use CGRectIntegral to avoid blurred content

When containerView frame has non integer values, the content appears blurred. Using CGRectIntegral allows to easily avoid this.