Fix zero-width pen and touches(color); added test.