What you describe is VERY bad wiring practice
Boilers and their controls should have a single point of isolation
Boilers and their controls should have a single point of isolation
Sorry to say, either I've misunderstood your post, or I'm not sure you really know what you're doing?
Are the boiler and controls on separate supplies?