Select images on mousedown using Rangy

Removes _selectedImage.
#612 already and this is very simple code so I don't mind just removing it in this PR.