fix cacheAsBitmap alpha issue