PC and Mobile behave differently - C#