I have answered my own question, and I'll post it here so that future people with this problem have the solution too!
I needed to add a "scroll to" behaviour to the invisible box that in pinned to the player (not to the tiled bg object!). Now the BG scrolls along with the player :D