Fixed buggy bits of Texture/Text rendering.