Adds client checks to update_inv procs, before trying to reference client.screen.

Fixes #371.