add command: clear selections; fix selection drawing bug