This is a heavy price to pay for a bug on some ATI card, we should find some other way.