Added check for HiDPI (aka Retina) screen.