Thanks for the advise everyone.
I have checked things again. Things work as they should whilst running on 12v and the mains completely disconnected.
When the battery is removed and the mains switched on everything works fine, the same as when the battery is also hooked up.
Guess there's a...