mirror and retina mode work correctly