Can someone explain these panels to me? Storm does not have her…

Can someone explain these panels to me? Storm does not have her powers here. She hasn’t had them since Uncanny X-Men #185 when she got accidentally shot with Forge’s null ray. But every once in a while when she gets physically strained or stressed out the weather around her goes crazy, implying that she still has subconscious control over her powers. But this scene here doesn’t seem subconscious at all. Is it just a gag and the lightning here is a coincidence? (Fantastic Four Versus The X-Men #4 – June 1987)