Fixes #1044
Merge pull request #1056 from html5rocks/shadowupdates

Fixes #1044