Right, the cursor coords starts at the point (0,0) of the window, so 36 should be the height of the title and maybe the padding top too. There will be a problem once https://trello.com/card/2-ux-implement-toolbar/4f90a6d98f77505d7940ce88/785 is done and the title bar ends up only in the in-browser branch. A solution for now is to check the position of the editor holder, for latter it might be best to have an API in the Editor.