Debug cleanup
Only updated valid pixels