Fixing Image Gallery's play/pause buttons.