Fixed bug on dismissing camera in edit VC