Fix bug: Offset works not correctly.
Change Sample.xaml.cs offset sample.