iWhen you say they go off, do you mean the main power to the drivers or that they disable?.
If just disable.... Do you have the enable pins wired up to the drivers?.
Worth a check. Might just be working backwards (low/high) enabled when idle/disabled when wanted. Or on wrong output.