Follow this steps to reproduce:
- Create a new page in WYSIWYG mode
- Create enough lines of text for the vertical scroll bar to appear
- Place the caret somewhere between the lines
- Insert a macro
- Click on the macro to select it
As a result the page is scrolled up and the macro becomes invisible.