system16.c: sync shadow/hilight with non-bootleg code, should fix out-of-range pixels (nw)