Fix for photo capture break.