Added workaround for devices that don't support NPOT textures.
Fixed an issue with transparency on Kindle Fire.