Allow exiting from drawing