Fix hardware acceleration preferences.