Occasionally parts of an object or control remain painted on the screen.
You cannot select them as they no longer exist.

If you just click on the Document Tab (the filename), your XDA should carry out a screen refresh (it blinks) and remove them.

Acorn