Transformation matrices and zIndex work