Fix access denied error in latest gpu drivers.