Fixed shadow disappearing when a script runs while being dragged

Fixes #132.
Fixed.