Start to deal with note positions changing when the window is resized. Not done, see todo in updateNoteViewFrames.