replace bounds key values with CGRect to mimic existing interfaces