minor fix: grid-based layout's attributes' initialization