pos[2] larger than 65535 is clamped to 65535 and not 0