Fixed broken hardware acceleration.