With the cursor in line 4040 on the right side, pressing page down does nothing.

Looks like the page up/down behavior in Notepad++ is implemented by moving the cursor and then scrolling the cursor into view, so this poses a problem when there is no line to place the cursor on, but maybe it's possible to use the next available line instead of not moving the cursor.
Not sure if this is a plugin problem or would need a fix in Notepad++ itself.