Fix an issue when same tool was choosed again
Support pen width to work correctly
Support pen color to work correctly