Update x and y when setting displayObject.transform.matrix, and a small patch to fix recovering from a width or height of 0