Fixed issue appeared after minor refactoring
Proper implementation of multiline selection