The issue you're having is mirror mode related. The client is failing to perform a certain action while trying to retrieve a RS2Widget. Using the script on stealth injection should work without any problems. Unfortunately, one is not able to specifically write a script for mirror mode.