Temperature-stable negative resist