`grab_widget` returns a previous capture's image when the target widget doesn't exist
The `grab_widget` function incorrectly returns an image from a previous successful capture when called with a non-existent widget. The expected behavior is to only receive a 'widget not found' error without any image data.