The panels are well placed, there should be a distance from the wall. The only solution is to use a batten connector and a piece of batten. Under the frame itself you will need to add a piece of paneling as mentioned above, it is best to glue it, not to push it in.