fixed(?) bug with selection redrawing