Mouse movement in editor