Fix Loop out position and updates loop cursor when changing view mode/dragging staff
Merge pull request #888 from vgstef/LoopAgain

Fix loop out position and loop layout updates