fixed key pickup death

Fixes #880