Added a texture preview when mouse is pressed