This is a currently known problem. A recorded script must be checked before saving. After recording is finished, select and retype any character of the script. This enables the check button in the Script Editor window. Check the script before saving as an applet.
To fix a recorded script applet showing this problem, reopen the script in the Script Editor, make a change to the script text and check the script before resaving.