Serialize #applyMatrix before #matrix, because in deserialization its setting will affect how #matrix is read.

Closes #451.