Fix multiple cursors which was broken from cc9c2d7 closes #375