fix pen stroke coloring

- use >>> to coerce negative numbers into 32-bit ints