Z-buffering fix.