Fix crash when pressing webcam-button in profiles-screen.