Bug fix for ATI drivers.