cure the canvas bug for android device.