Allow larger texture buffer widths.

Fixes #1631.