I had this problem and it was because of the collision preset the landscape was set to.
It would only allow me to paint on my background landscape so my solution was to change the background landscape collision preset to ‘no collision’ and the landscape I want to paint the foliage on to 'block all;
Hope this helps.
Lewis