Fixed maxOSX bug

window showing up gray