Constrain tool movement with keyboard modifiers