Fix fail passing pointer to Array struct by constructor issue