fix hardware acceleration for latest browsers