simpler retina detection fallback, close #2258