Fixed button rendering to texture.