Fix WS_Printf off by one error/truncation handling.