Fix GUI on ATI drivers.
Merge pull request #2 from dezgeg/fix-gui-on-ati-drivers

Fix GUI on ATI drivers.