Fixed error when no cameras are plugged in.