Added a check to see if isWindowTranslucencySupported()