The red rectangle is the neon light which indicates if the switch is on. They sometimes flicker like a flame, which can sometimes indicate a poor connection.
Or, more likely, the neon's just getting old and will eventually pack up completely (which isn't a safety issue).