Added the loop to find camera

Thanks Jannicke!