I heard in the commentary that Mel Brooks was afraid that one of the crew might leave a foam coffee cup in a scene, so they just wrote it into the script. That way if they got on in frame, it would not be noticed.
Day after day, it reappears. Night after night my heartbeat shows the fear. Ghosts appear and fade away. Come back another day.