Fix crash when switching to video recording

Although it doesn't fix video recording sadly. May need to update values
in the future.