Bug fix! WindowMatrixPtr could be missed to be setted.