Fixes gallery button