adds retina support to the core framework