Made SS3Gallery compatible with SS2.1.4