[Bug 917] Cursor jumps strangely