Fix for texture upload form