Delegating rectmidpoint to Apple.