removed usage of -[NSImage setScaledWhenResized]
Removed invocations of deprecated methods

Removed invocations of deprecated -[NSImage setFlipped:]
Drawings now correctly respect view’s flipping state. No need to flip
images itself. TODO: Should be changed in original sources taken from
PSMTabBarView.