Chest bug fix.

Fixed bug (oversight?) where chests would not close if the player walks
away.