Made SS3 Gallery compatible with SS3.1.4