try to support retina displays on OS X