fix Canvas.setPixelRatio and _drawCachedHitCanvas