Prevent updating the current transformation matrix when the stateStack is empty