AndroidDisplayer: fix an issue caused by paint.setShadowLayer in multi-thread