draw the selection box properly