Bugfix for modal photo