Added fix for bug # 219
The vim state now has a initialselectedrange used when in visual mode