Make text selectable, disable drag- and resizable when box is not selected, fix #45