Fix element_size/record_size
Fixes the element_size/record_size property being computed from the grid dimensions instead from the components.
Fixes the element_size/record_size property being computed from the grid dimensions instead from the components.