Removed use of deprecated Cocoa resolution independence APIs

Apple changed how they handle 'resolution independence' and deprecated the old APIs that never worked so well anyway.

Change-Id: I5bd04b848094eefabd46170fb8f309d2b1c1614a
Merge topic 'cocoa-remove-old-resolution-independence' into master

5ed9de93 Removed use of deprecated Cocoa resolution independence APIs