Fixes size of mat3.