Support non-power-of-2 wide textures

Seems to work; fixes the Eye of Sauron in DVII at least.