Bugfix for Script interaction wit integer spinbox