The x and the t5x don’t have compatible dimensions 256 vs 18 in w and h. Which dimensions did you expect them to have? You could pool x to 18 or use upsize 256 (though that sounds a lot to me compared to 18).
Best regards
Thomas