Don't allow dragging / remove_button clicks / item selection when locked (fixes #140).