This has happened many to me when making frames for paintings.
The miters have a gap the top face. Indicates that having
to re-cut the miter and hope the painting will still fit inside the frame. https://ukrvetmarket.com/?option=com_k2&view=itemlist&task=user&id=762221