Remove last occurence of box backend from matrix