handling pixel doubling with retina