Moved the clicked-through block check to the top of the function.
Removes the fire if the block under the fire was broken.