Light makes objects black

I encountered an interesting problem which I was unable to solve. In my game I set the ambient light on the lighting layer to black(0;0;0), and added a light which follows the player in the middle of the screen kind of like a flashlight.
But when I add the light obstacle behaviour to some objects, they turn entirely black. Changing the ambient light however would make the scene much brighter.