Fixed shadow logic to disallow power attacks

Fixes #112