fix drawing of handles when selecting from right to left, fix callback ordering when selecting from right to left