Problem: Setting firstline with popup_setoptions() fails if cursorline is set. Solution: Use apply_options(). Update the popup before applying "zz". (closes #7010)
Problem: Cursor line highlight in popup window is not always updated. Solution: Check if the cursor has moved. (closes #7010)