Function restorePoint

Restores a point that might have legacy format (x,y as numbers)