Camera functionality fixed