Strangely enough, a new ground cable and a battery solved the problem, don't ask me why turning the lights on made any difference.