cocoa: fix rendering artifacts in retina displays
Set the correct contentsScale in the CALayer instead of using the default (1.0) which causes rendering artefacts in retina displays due to using a smaller bitamp than the display size.
See: https://developer.apple.com/documentation/quartzcore/calayer/1410746-contentsscale?language=objc
Fix: #3942 (closed)