It's the alpha channel anti aliasing. You fix it by making sure your layers are set to Alpha Add blend mode and making your masks exactly accurate. It helps if you set up a grid and put your verticies exactly on whole pixel values.
You absolute genius Rick. Thank you so much. Been bugging me for ages that one.