Bug with drag selection in alternates

I’ve created temporary substitution feature to speed up work on Cyrillic. And this is what happens:

http://cl.ly/LjWC

All works fine in manually typed glyphs.

Fixed it.