Invalid pixels skipped