Fixed a bug where sometimes scripts setting playback would be overridden by the surface resetting playback after casting is done.
Fixed a bug.