In the example of Figures 1a and 3a, both paints and bed can be grounded, the former referring to the verb of the relative clause, which is in active voice.
the relative clause is supposed to be attached to bed.