Let's try the following, this command will partially 'reset' Wordpad - after a reboot this value will be recreated.
Code:
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad\Options" /v FrameRect /f