osx hack changes to fix weird seams also fixes retina issues suboptimally and support new osg version