'Take a photo' button remains disabled if webcam has no permissions