Added support for smart rendering based on retina screen dimensions