Added a check in the renderer to see what OS is running in an attempt to fix flicker on linux.