Fix MgLocalized::getString() and snapping functions.