Fixed clearing of margin.
Don't drop selection on mouse click.