fixed hardware acceleration bug for galaxy s3