Correctly load textures.

Also fixes overbright on OS X.