Attempt to fix a bug with psActionTarget being NULL. No idea what's really causing it.