Fix matrix scale for 4x4 matrices