Believe I solved simultaneous z and color change problem for real this time