Ensure cursor shape changes between insert and normal mode in iTerm2