fix camera demo