fix bugs found by Pentom
close inv view on death, break drops loop earlier