Fixed bug with pen color for touch application