Ensure texture width/heights are calc'd correctly.
Previously it was using integer division by accident.