sanity check and fix ios retina