Hello,
We can’t include this fix for the main theme because we don’t use prettyphoto scripts for the image gallery by default, we use our own lightbox.
All the fixed to change it back were made in functions.php of your child theme, so you won’t lose it after update if you don’t change our code in functions.php.
Regards