Fixed issue with set Point

no if only one param is passed x and y are both set to it