Corrected bug in webcam.py