Jim Goodwin credited his Aberdeen players' attitude despite conceding three penalties and having a player sent off in their defeat to St Mirren.