These should be `rect` and `referenceRect` too.