Fixed getTexture() not returning correctly