Fixed retreat check for firstHex and zoc