Idempotent iconfiy commands.
Only shuffle states when the client isn't iconified.