Fixed #5781: fixed a bug of cc.Sprite that its setVisible is invalid when using BatchNode

Fixed a bug of cc.Sprite that its setVisible is invalid when using BatchNode