Another view is to assign priorities to actions on the basis of addressing that which is going to kill you first ... first ..... the fire warning may well be false ... the consequences of a real fire may not kill you in the next 20 seconds or even the time it takes to recover the aircraft to a landing...
... but losing sight of the bigger picture and flying back into the ground ... or into the hill which the departure turn you overlooked (in your enthusiasm to shut down the engine) was intended to avoid .... can definitely spoil your day very quickly and permanently.
Horses for courses chaps ....