Fix for nvidia cards (thanks to OV2).