Fixing hardware acceleration.