Render fix for Mac OS X (tested on 10.10)