Fix undefined error in camera when selecting a new power