try to avoid(ignore) IllegalArgumentException when calling lockCanvas/unlockCanvasAndPost