Yeah that's intentional! It's this bit:
if config.developer: action a.Toggle()
so it only happens during development, not in a built game. It's to help with testing. You can just delete those lines from the achievement_gallery screen to get rid of that.