Texture is drawn when loadbutton is clicked.