Fix API tests that are broken under HiDPI
Created attachment 244097 [details] Patch
Committed r177997: <http://trac.webkit.org/changeset/177997>