changing Grid.Round to fix bug