Fix snail and rat map code