Fix lingering selections.

Make sure to clear markers when detaching ace from sharejs.