Fixed code that broke due to changes to Rectf and Sizef