More corrections for dynamic size calculations

- Fixed nested types in vectors with fixed data
- Fixed calculated offset for writing of nested types