Use max texture size when loading images