Issue #5933: Fixed repeat drawing scale9sprite bug

Fixed repeat drawing scale9sprite bug