Fix retina.js with images not currently visible on the page.
Fix retina.js with images not currently visible on the page.

retina.js has a bug (which has a few issues and pull requests filed)
where any images not currently displayed (either through display:none on
the image or on a parent) will end up with a width and height of 0.

The solution appears to be to use the naturalWidth and naturalHeight
properties instead of offsetWidth and offsetHeight. Others have deployed
this without problems, and it works for the cases I've hit as well.

The problem is that we now have to maintain this, but hopefully the next
time retina.js puts out a release, it'll include a fix.

beol/reviewboard,davidt/reviewboard,reviewboard/reviewboard,brennie/reviewboard,1tush/reviewboard,chipx86/reviewboard,sgallagher/reviewboard,custode/reviewboard,KnowNo/reviewboard,chipx86/reviewboard,beol/reviewboard,1tush/reviewboard,brennie/reviewboard,bkochendorfer/reviewboard,beol/reviewboard,custode/reviewboard,1tush/reviewboard,1tush/reviewboard,beol/reviewboard,bkochendorfer/reviewboard,KnowNo/reviewboard,davidt/reviewboard,davidt/reviewboard,bkochendorfer/reviewboard,1tush/reviewboard,davidt/reviewboard,reviewboard/reviewboard,1tush/reviewboard,brennie/reviewboard,reviewboard/reviewboard,sgallagher/reviewboard,chipx86/reviewboard,brennie/reviewboard,bkochendorfer/reviewboard,chipx86/reviewboard,sgallagher/reviewboard,reviewboard/reviewboard,1tush/reviewboard,custode/reviewboard,sgallagher/reviewboard,KnowNo/reviewboard,KnowNo/reviewboard,custode/reviewboard,1tush/reviewboard,1tush/reviewboard