Temporary tools: event conflicts prevention

1. prevent fixed shortcuts to be executed while drawing
2. temporary tool will not return to previous state until both mouse and
shortcut keys are released