fix android-canvas bug