It was very much intentional. Besieging Storm’s End was a low-risk way for Mace to publicly display loyalty to the Targaryen regime without getting too involved in the fighting. This way, if the Targaryens lost, the Tyrells could bend the knee without having pissed off Robert that much.