Fix iPad mini detection and DPI + resolution in Retina mode.