Check all sides of the casing with a level and a square.
If all are still in alignment (square and perpendicular), you can have a replacement made, but if not, it might be easier to make one to fit the opening.
Which will take an experienced hand to measure it and make to fit.
It should be simple enough to do.
Have fun.
ED