Fixed memory issue on Camera