First remove the /startattack line

Then either go into interface settings in WoW, there's an 'attack on assist' setting that you can switch on that should sort out your problem

Or alternatively, remove the line as above and add /startattack (with no modifiers) to the _end_ of the macro