remove ambiguous use of Rect (on OS X)